/*************************************************************************
	> File Name: RecurseIfTest.java
	> Author:Blackwall 
	> Mail:wangzq besti.edu.cn 
	> Created Time: 2018年04月08日 星期日 10时12分39秒
 ************************************************************************/
import java.util.Scanner;
public class RecurseIfTest{
    public static void main(String []args){
        System.out.println("Please input a user's age:");
        Scanner scan = new Scanner(System.in);
        
        final int MINOR = 18;

        int age;
        age = Integer.parseInt(scan.nextLine());
        System.out.println("Your entered age is :" + age );
        
        if (age < MINOR)
            System.out.println("Youth is a wonderful thing. Enjoy!");
        System.out.println("Age is a state of mind");
        System.out.println("String []args:" + args);
        System.out.println("HashCode:" + args.hashCode());
        for (String values: args)
            System.out.println(values);
    }
}

